class CreateOwners < ActiveRecord::Migration
  def self.up
    create_table :owners do |t|
      t.string  :inhaber,:limit=> 32, :null => false
      t.string  :checker,:limit=> 16, :null => false
      t.string  :gast,:limit=> 8, :null => false
    end
    add_column :items, :owner_id, :integer
  end

  def self.down
    drop_table :owners
  end
end
